package cn.getech.data.development.utils;

import org.apache.commons.lang.StringUtils;

public class StrUtils {
    public static String escapeChar(String before){
        if(!StringUtils.isEmpty(before)){
            before = before.replaceAll("/", "//") ;
            before = before.replaceAll("_", "/_") ;
            before = before.replaceAll("%", "/%") ;
        }
        return before ;
    }
}
